#include "ADConverter.h"
#include <stdio.h>

int main()
{
	ADConverter adc(1);
	int i;
	char str[12];
	str[11]=0;

	adc.openDevice();
	while(1)
	{
		i = adc.readDevice();
		adc.readString(str);

		printf("Read i=%d; str = '%s'\n", i, str);
	}

/*	adc.closeDevice();*/
}
